package com.koron.sinoprobe.web.ledger.service;

import com.koron.bean.workflow.RedirectQuery;
import com.koron.sinoprobe.web.ledger.bean.entity.SpProjectConclude;
import com.koron.sinoprobe.web.ledger.bean.query.SpProjectConcludeQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: SpProjectConcludeService
 * @projectName GDH_EAM_V2
 * @description: 项目办结service
 * @date 2022/2/1114:08
 */
public interface SpProjectConcludeService {

    SpProjectConclude queryById(SessionFactory factory, String id);

    List<SpProjectConclude> queryList(SessionFactory factory, SpProjectConcludeQuery query);

    SpProjectConclude saveOrUpdate(SessionFactory factory, SpProjectConclude bean);

    Boolean deleteById(SessionFactory factory, String id);

    /**
     * 工作流更新
     * @param factory
     * @param redirectQuery
     */
    Boolean workflowUpdate(SessionFactory factory, RedirectQuery redirectQuery);

    SpProjectConclude auditFinish(SessionFactory factory, SpProjectConclude bean);
}
